package com.lagou.demo.controller;

import com.lagou.edu.mvcframework.annotations.LagouController;
import com.lagou.edu.mvcframework.annotations.LagouRequestMapping;
import com.lagou.edu.mvcframework.annotations.Security;

@Security("wangwu")
@LagouController
@LagouRequestMapping("/security-demo2")
public class SecurityDemo2Controller {

    @LagouRequestMapping("/handle04")
    public String handle04(String username) {
        System.out.println("handle04");
        System.out.println("Username: " + username);
        return username;
    }
}
